#define  _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
void printArray(int* arr, int nLength)
{
	for (int i = 0; i < nLength; i++)
	{
		printf("%d ", *(arr + i));
	}
	putchar('\n');
}
void updateArray(int* arr, int nLength)
{
	for (int i = 0; i < nLength; i++)
	{
		arr[i] *= 10;
	}
}
int main()
{
	int arr[10] = { 1,2,3,4,5,6,7,8,9,10 };
	updateArray(arr, 10);
	printArray(arr, 10);

	return 0;
}